AND 

image45.gif

The AND Helper allows you to do binary arithmetic between two or more input data streams. AND is a logic function that generates a True condition (binary = 1) output stream when all inputs are evaluated as True (1). If one input is false (binary = 0), the Out output data stream will also be false regardless of how many inputs return a True condition (1).

This is a handy way of checking multiple conditions to see if they are all true. For instance, you may want to check to see if a particle in a specified group is a certain age as well as has made a collision with a selected object. Using the AND Helper, you'd pipe in the Out output data streams from both of the other rules to check for their validation. When both rules send a true condition, the AND Helper would output a True condition. This information could be used as a "test" to trigger another event or rule.

Operator Inputs 

ON - (Bool) This input data stream determines whether the operator is considered 'on' or 'off.' You can connect other operators to this input channel such as a Bool Helper to activate/deactivate the whole operator.

In
- (Bool) This input data stream takes in the Out output data stream condition from another operator or rule to see if it returns a True condition (Binary = 1), or a False condition (Binary = 0).

In
- (Bool) This input data stream takes in the Out output data stream condition from another operator or rule to see if it returns a True condition (Binary = 1), or a False condition (Binary = 0).

All additional In input data streams will read in the same Boolean information to determine if all of the output streams that are fed in are true.

Operator Outputs 

Out - (Bool) This output data stream sends the true or false state to other node input data streams regarding the results from the AND test. If all In input data streams return a True condition (Binary = 1), then the AND Helper will send out a True condition. If any of the In input data streams returns a False condition (Binary = 0), then the AND Helper will send out a False condition.

Rollout Menu 

image85.gif

Num AND
- This spinner lets you set the amount of input data stream connectors that should be created and used to perform the logical AND operation. Be aware that by default, the spinner value is set to 1, which means, compare one value with ONE additional value. A spinner value of 3 would yield a total of 4 In input data streams; 1 value plus 3 more to compare it with.